package com.bmps.springcloud.insuredmicroservice.constant.accept;

/**
 * description:
 * 第三方核保常量
 *
 * @author jackdaw
 * @date 2020-03-09 15:17
 */
public class ThirdPartyConstant {
    /**
     * 中保信数据
     */
    public static final String MAJOR_DISEASE_PAYMEN = "majorDiseasePayment";
    /**
     * 中保信延拒识别分数
     */
    public static final String RISK_SCORE = "riskScore";
    /**
     * 数字
     */
    public static final int TEN = 10;
    /**
     * 请求中保信的10位流水key
     */
    public static final String KEY_SERIAL_NO = "SERIAL|CBIT";
    /**
     * 中保信返回报文retCode节点，调用成功
     */
    public static final String CBIT_SUCCESS = "001";
    /**
     * yes
     */
    public static final String YES = "Y";
    /**
     * 调用中保信险种配置缓存前缀
     * 1-个人意外险 2-补偿医疗险 3-重大疾病险 4-个人津贴险
     */
    public static final String PREFIX_CBIT = "DICT|CBIT|";
    /**
     * 中保信险种校验项缓存前缀
     */
    public static final String PREFIX_CBIT_CHECK = "DICT|CBITCHECK|";

    /**
     * 核保调用权限
     * 1- 保盾云 2-百融 4-中保信 8-阳光
     */
    public static final int PERMISSION_BAODUNYUN = 1;
    public static final int PERMISSION_BAIRONG = 2;
    public static final int PERMISSION_CBIT = 4;
    public static final int PERMISSION_SUN = 8;
    /**
     * 网销渠道调用核保渠道编码
     */
    public static final String CHANNEL_INTERNET = "3";
    /**
     * 负数码
     */
    public static final String MINUS_TWO = "-2";
    public static final String MINUS_ONE = "-1";
    /**
     * 核保任务key
     */
    public static final String KEY_ERROR = "error";
    public static final String KEY_CLOUD = "baodunyun|";
    public static final String KEY_BR = "bairong|";
    public static final String KEY_CBIT = "zhongbx|";
    public static final String KEY_SUN = "ebbank|";

    /**
     * 核保任务状态
     */
    public static final int FAIL_CODE = 900;
    public static final int SUCCESS_CODE = 0;

    /**
     * 百融风险等级
     */
    public static final String HIGH_RISK_E = "E";
    public static final String MEDIUM_HIGH_RISK_D = "D";
    public static final String MEDIUM_RISK_C = "C";
    public static final String MEDIUM_LOW_RISK_B = "B";
    public static final String LOW_RISK_A = "A";

    /**
     * 阳光状态码
     */
    public static final String SUCCESS = "SUCCESS";

    public static final int SUN_HIGH_RISK = 400;

    public static final String CBIT_SPECIAL_LWT003 = "LWT003";

    public static final String CBIT_SPECIAL_LWT006 = "LWT006";

    public static final String CBIT_SPECIAL_LWT007 = "LWT007";

}
